﻿using System;
using System.Web.Configuration;

namespace VioletDevelopmentLaboratory.Net.Web.Configuration
{
	public sealed class VWebConfigurationReader
	{
		private VWebConfigurationReader() { }

		static VWebConfigurationReader()
		{
			section = (VWebSection)WebConfigurationManager.GetWebApplicationSection("VWeb");
		}

		private static VWebSection section;

		public static String ApplicationName { get { return section.ApplicationName; } }

		public static String ConnectionStringName { get { return section.ConnectionStringName; } }



		public static VWebPathElement Path { get { return section.Path; } }

		public static VWebAdministratorElement Administrator { get { return section.Administrator; } }

		public static VWebControlSettingsCollection ControlSettings { get { return section.ControlSettings; } }
	}
}
